package com.chen.mobiletwo.dao;

import com.chen.mobiletwo.entity.UserDetailViewEntity;
import com.chen.mobiletwo.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {
    List<UserEntity>getUserList(String uName,int start,int cnt);//查询用户列表
    int rePwd(int uId,String pwd);//重置密码
    int delUser(int uId);//软删除用户
    List<UserDetailViewEntity> getDetailList(String phone, String weChat, String email);//获取用户详情列表
    int addUser(String uName);//新增用户 默认密码123456
    int addUserDetail(String detailId,int uId,String phone,String weChat,String qqNum,String email);//新增用户详情
}
